<script setup>
import { DemoOne } from '@/stores/index'
const loading = DemoOne()

</script>

<template>
  <div v-if="loading.loadingValue" class="loadingpage">
    <img src="../assets/img/loading.gif" alt="">
  </div>
</template>

<style lang="scss" scoped>
.loadingpage {
  position: fixed;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, .9);
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
}
</style>